﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 设计模式.组合实体模式
{
   public class CompositeEntity
    {
        private CoarseGrainedObject cgo = new();
        public void SetData(string data1,string data2)
        {
            cgo.SetData(data1, data2);
        }

        public string[] GetData()
        {
            return cgo.GetData();
        }
    }
}
